-- GENERATED SPELL FOR [Sul'lithuz Sandcrawler] --


function spell0_8095(pUnit, Event) --@Petrify,n/a--
pUnit:FullCastSpellOnTarget(11020,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8095', 8288, 1)
end

function Sorts_8095(pUnit, Event)
local choix_sorts_8095 = math.random(0, 0)
if choix_sorts_8095 == 0 then
pUnit:RegisterEvent('spell0_8095', 1, 1)
end
end

function mob8095_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8095', math.random(1500, 3000), 1)
end

function mob8095_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8095_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8095_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8095, 1, 'mob8095_Action')
RegisterUnitEvent(8095, 2, 'mob8095_Leave')
RegisterUnitEvent(8095, 3, 'mob8095_Kill')
RegisterUnitEvent(8095, 4, 'mob8095_Die')
